package nut.system;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
/**
 * Version and the associated collection of nuts.
 * 
 * @category stable
 * @author Mark Farnsworth
 */
class NutVersion {
	final int id;
	final String name;
	final List<NutItem> nuts = new LinkedList<NutItem>();
	final Map<Date, Date> target = new HashMap<Date, Date>();
	NutVersion(final String n) {
		id = NutFactory.the.nextId();
		name = n;
	}
}
